<fieldset>
    <legend>创建订单</legend>
    <input type="hidden" name="order.id" value="${(order.id)!}"/>

    <div>
        <label>订单编号</label>
        <input type="text" name="order.sn" value="${(order.sn)!}"/><span class="error">${titleMsg!}</span>
    </div>
    <div>
        <label>订单名称</label>
        <input type="text" name="order.name" value="${(order.name)!}"/><span class="error">${titleMsg!}</span>
    </div>
    <div>
        <label>商品</label>
        <input type="text" name="order.goodsId" value="${(order.goodsId)!}"/><span class="error">${titleMsg!}</span>
    </div>
    <div>
        <label>订购数量</label>
        <input class="span1"  type="text" name="order.num" value="${(order.num)!}"/><span class="error">${titleMsg!}</span>
    </div>
    <div>
        <label>总价</label>
        <input class="span1"  type="text" name="order.totalPrice" value="${(order.totalPrice)!}"/>
        <span class="error">${titleMsg!}</span>
    </div>
    <div>
        <label>订单联系电话</label>
        <input type="text" name="order.phone" value="${(order.phone)!}"/>
    </div>
    <div>
        <label>收货地址</label>
        <input type="text" class="span6" name="order.address" value="${(order.address)!}"/>
    </div>
    <div>
        <label>状态</label>
        <select class="span2" name="order.status">
             <option>待发货</option>
             <option>已发货</option>
             <option>已取消</option>
        </select>
    </div>
    <div>
        <label>备注说明</label>
        <textarea name="order.content" class="span8" rows="5">${(order.content)!}</textarea><span
            class="error">${contentMsg!}</span>
    </div>
    <div>
        <label>&nbsp;</label>
        <input class="btn btn-primary" value="提交订单" type="submit">
    </div>
</fieldset>